﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Gnosis.Babel;

namespace Gnosis.SQLite.Columns
{
    public class ColumnDefault
        : Constraint, IColumnConstraint
    {
        public ColumnDefault(IValue expression)
            : this(ConstraintName.Default, expression)
        {
        }

        public ColumnDefault(ConstraintName name, IValue expression)
            : base(name, "DEFAULT", new List<IExpression> { expression })
        {
        }
    }
}
